package cn.gzjp.modules.logis.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cn.gzjp.common.persistence.Page;
import cn.gzjp.common.service.CrudService;
import cn.gzjp.modules.logis.entity.LogisShareFriend;
import cn.gzjp.modules.logis.dao.LogisShareFriendDao;

/**
 * 分享好友Service
 * @author zengcp
 * @version 2018-03-31
 */
@Service
@Transactional(readOnly = true)
public class LogisShareFriendService extends CrudService<LogisShareFriendDao, LogisShareFriend> {

	public LogisShareFriend get(String id) {
		return super.get(id);
	}
	
	public List<LogisShareFriend> findList(LogisShareFriend logisShareFriend) {
		return super.findList(logisShareFriend);
	}
	
	public Page<LogisShareFriend> findPage(Page<LogisShareFriend> page, LogisShareFriend logisShareFriend) {
		return super.findPage(page, logisShareFriend);
	}
	
	@Transactional(readOnly = false)
	public void save(LogisShareFriend logisShareFriend) {
		super.save(logisShareFriend);
	}
	
	@Transactional(readOnly = false)
	public void delete(LogisShareFriend logisShareFriend) {
		super.deleteByLogic(logisShareFriend);
	}
	
}